<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <script>
        let person = {
            name: "小米",
            age: 17
        }
        console.log(person)
        console.log(delete person.age);

        let array = [1, 2, 3, 4];
        console.log(delete array[2]);
        console.log(array[3]);


        x = 10;
        console.log(delete x);
        var y = 1;
        console.log(y);
        console.log(delete y);
        let w = 3;
        console.log(delete w);
        console.log(w)
    </script>
</body>

</html>